@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/maintain_record/record_add.js"]}){
<form id="recordForm" lay-filter="recordForm" class="layui-form model-form">
    <div class="layui-form-item">
        <label class="layui-form-label">桥梁</label>
        <div class="layui-input-inline">
            <select id="bridgeId" name="bridgeId"  lay-filter="getBeamNo">
                <option value="0">选择或搜索</option>
            </select>
        </div>
    </div>
    <input type="hidden" id="beamNo" name="beamNo"/>

    <div class="layui-form-item">
        <label class="layui-form-label">维修日期</label>
        <div class="layui-input-block">
            <input id="maintainDate" name="maintainDate" placeholder="维修日期" type="text" class="layui-input" autocomplete="off"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">维修人</label>
        <div class="layui-input-block">
            <input name="person" placeholder="维修人" type="text" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item" pane="">
        <label class="layui-form-label">原始复选框</label>
        <div class="layui-input-block">
            <input type="checkbox" name="types[0]" lay-skin="primary" value="1" title="桥面维修" >
            <input type="checkbox" name="types[1]" lay-skin="primary" value="2" title="支座更换">
            <input type="checkbox" name="types[2]" lay-skin="primary" value="3" title="梁体加固" >
            <input type="checkbox" name="types[3]" lay-skin="primary" value="4" title="下部结构加固" >
            <input type="checkbox" name="types[4]" lay-skin="primary" value="5" title="动静载检测" >
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
